<extend name="Public/base" />
<block name="body">
 <div class="main-title">
        <h2>定制价格</h2>
    </div>
    <form action="{:U('add')}" method="post" class="form-horizontal">
  <volist name="arr" id="vo">  
 <div class="form-item">
                <volist name="vo" id="v">
                <label class="item-label">{$v}</label>
                </volist>
                <div class="controls">
                    <input type="text" class="text input-large mprice" name="mprice[]" value="" placeholder="市场价格">元
                </div>
                <div class="controls">
                    <input type="text" class="text input-large sprice" name="sprice[]" value="" placeholder="商城价格">元
                </div>
                <div class="controls">
                    <input type="text" class="text input-large num" name="num[]" value="" placeholder="库存量">
                </div>
                <div class="controls">
                    <input type="hidden"  name="pid[]" value="{$pid}">
                </div>
            </div>
            </volist>
            
            <volist name="ar" id="v">
            <input type="hidden" name='ar[]' value="{$v}">
            </volist>
             <div class="form-item">
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>

</form>
</block>
